package factory_method;

/**
 * @author ChrisHao
 * @date 2025/1/25 09:51
 */
public abstract class Creator {
    public abstract IProduct createProduct();

    public void someOperation() {
        IProduct p = createProduct();
        p.doStuff();
    }
}
